package com.zhima.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum QuestionDifficulty {
    /**
     * 简单
     */
    EASY("easy"),
    /**
     * 中等
     */
    MEDIUM("medium"),
    /**
     * 难
     */
    HARD("hard"),
    /**
     * 超乎想象的难
     */
    UNBELIEVABLE("unbelievable"),
    /**
     * 暂未评定
     */
    UNKNOWN("unknown"),
    ;
    @EnumValue
    private final String difficulty;

    QuestionDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public String getDifficulty() {
        return difficulty;
    }
}
